﻿using System;
using System.Collections.Generic;

namespace CloudApiServer
{
    /// <summary>
    /// 医保输出
    /// </summary>
    /// <typeparam name="TResult"></typeparam>
    public class FsiHeader<TResult>
    {
        /// <summary>
        /// 交易输出
        /// </summary>
        public TResult output { get; set; }
        /// <summary>
        /// 交易状态码
        /// </summary>
        public int infcode { get; set; }
        public string warn_msg { get; set; }
        public object cainfo { get; set; }
        /// <summary>
        /// 错误信息
        /// </summary>
        public string err_msg { get; set; }
        /// <summary>
        /// 接收报文时间
        /// </summary>
        public string refmsg_time { get; set; }
        public string signtype { get; set; }
        /// <summary>
        /// 响应报文时间
        /// </summary>
        public string respond_time { get; set; }
        /// <summary>
        /// 接收方报文ID
        /// </summary>
        public string inf_refmsgid { get; set; }

        public string enctype { get; set; }
    }
    
    /// <summary>
    /// 医保输出
    /// </summary>
    /// <typeparam name="TResult"></typeparam>
    public class FsiChongQingHeader<TResult>
    {
        /// <summary>
        /// 交易输出
        /// </summary>
        public TResult output { get; set; }
        /// <summary>
        /// 交易状态码
        /// </summary>
        public string infcode { get; set; }
        public string warn_msg { get; set; }
        public object cainfo { get; set; }
        /// <summary>
        /// 错误信息
        /// </summary>
        public string err_msg { get; set; }
        /// <summary>
        /// 接收报文时间
        /// </summary>
        public string refmsg_time { get; set; }
        public string signtype { get; set; }
        /// <summary>
        /// 响应报文时间
        /// </summary>
        public string respond_time { get; set; }
        /// <summary>
        /// 接收方报文ID
        /// </summary>
        public string inf_refmsgid { get; set; }

        public string enctype { get; set; }
    }
    /// <summary>
    ///医保输出头 安徽
    /// </summary>
    /// <typeparam name="TResult"></typeparam>
    public class FsiAnHuiHeader<TResult>
    {
        /// <summary>
        /// 状态码
        /// </summary>
        public int code { get; set; }
        /// <summary>
        /// csb状态码
        /// </summary>
        public int csbCode { get; set; }
        /// <summary>
        /// 消息（请求失败时传这个）
        /// </summary>
        public string message {  get; set; }
        public string requestId { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public List<string> state { get; set; }
        /// <summary>
        /// 国标入参
        /// </summary>
        public FsiHeader<TResult> body { get;set; }
    }

    /// <summary>
    /// 目录下载 输出
    /// </summary>
    public class OutputDownCatalog
    {
        /// <summary>
        /// 文件查询号
        /// </summary>
        public string file_qury_no { get; set; }
        /// <summary>
        /// 文件名
        /// </summary>
        public string filename { get; set; }
        /// <summary>
        /// 下载截止日期
        /// </summary>
        public string dld_endtime { get; set; }
        /// <summary>
        /// 数据量
        /// </summary>
        public int?  data_cnt { get; set; } 
    }
    /// <summary>
    /// 2001人员享受待遇检查 output
    /// </summary>
    public class OutputQueryPsnPriorityInfo
    {
        /// <summary>
        /// 2001人员享受待遇检查  trtinfo
        /// </summary>
        public List <OutputQueryPsnPriorityInfoTrtinfoList> trtinfo { get; set; }
    }
    /// <summary>
    /// 2001人员享受待遇检查  trtinfo
    /// </summary>
    public class OutputQueryPsnPriorityInfoTrtinfoList
    {
        /// <summary>
        /// 开始时间
        /// </summary>
        public string begndate { get; set; }
        /// <summary>
        /// 基金支付类型
        /// </summary>
        public string fund_pay_type { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public string enddate { get; set; }
        /// <summary>
        /// 人员编号
        /// </summary>
        public string psn_no { get; set; }
        /// <summary>
        /// 拓展数据
        /// </summary>
        public string exp_content { get; set; }
        /// <summary>
        /// 基金款项待遇享受标志
        /// </summary>
        public string trt_enjymnt_flag { get; set; }
        /// <summary>
        /// 待遇检查类型
        /// </summary>
        public string trt_chk_type { get; set; }
        /// <summary>
        /// 待遇检查结果
        /// </summary>
        public string trt_chk_rslt { get; set; }
    }
    
    /// <summary>
    /// 1201 医药机构信息获取 output
    /// </summary>
    public class OutputQueryFixMedIns
    {
        /// <summary>
        /// 
        /// </summary>
        public List<OutputQueryFixMedInsedinsinfoList > medinsinfo { get; set; }
    }
    /// <summary>
    /// 1201 医药机构信息获取 output medinsinfo
    /// </summary>
    public class OutputQueryFixMedInsedinsinfoList
    {
        /// <summary>
        /// 定点医药机构编号
        /// </summary>
        public string fixmedins_code { get; set; }
        /// <summary>
        /// 统一社会信用代码
        /// </summary>
        public string uscc { get; set; }
        /// <summary>
        /// 拓展字段
        /// </summary>
        public string exp_content { get; set; }
        /// <summary>
        /// 定点医药机构名称
        /// </summary>
        public string fixmedins_name { get; set; }
        /// <summary>
        /// 定点医疗服务机构类型
        /// </summary>
        public string fixmedins_type { get; set; }
        /// <summary>
        /// 医院等级
        /// </summary>
        public string hosp_lv { get; set; }
    }
    /// <summary>
    /// 1901 字典表查询 output
    /// </summary>
    public class OutputQueryDataDic
    {
        /// <summary>
        ///  1901 字典表查询 output list
        /// </summary>
        public List <OutputQueryDataDicList > list { get; set; }
    }
    /// <summary>
    ///  1901 字典表查询 output list
    /// </summary>
    public class OutputQueryDataDicList
    {
        /// <summary>
        /// 权限标
        /// </summary>
        public string vali_flag { get; set; }
        /// <summary>
        /// 创建账户
        /// </summary>
        public string create_user { get; set; }
        /// <summary>
        /// 字典标签
        /// </summary>
        public string label { get; set; }
        /// <summary>
        /// 序号
        /// </summary>
        public int sort { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public string create_date { get; set; }
        /// <summary>
        /// 字典类型
        /// </summary>
        public string type { get; set; }
        /// <summary>
        /// 字典类型
        /// </summary>
        public string parent_value { get; set; }
        /// <summary>
        /// 字典键值
        /// </summary>
        public string value { get; set; }
        /// <summary>
        /// 版本号
        /// </summary>
        public string version { get; set; }
    }
    

    
    
    /// <summary>
    /// 1316 医疗目录与医保目录匹配信息下载 Output
    /// </summary>
    public class OutputQueryMedinsHilistMapByPage
    {
        /// <summary>
        /// 数据总量
        /// </summary>
        public int recordCounts { get; set; }
        /// <summary>
        /// 总页数
        /// </summary>
        public int pages { get; set; }
        /// <summary>
        /// 数据
        /// </summary>
        public List<OutputDataQueryMedinsHilistMapByPage> data { get; set; }
        /// <summary>
        /// 是否是第一页
        /// </summary>
        public bool firstPage { get; set; }
        /// <summary>
        /// 是否是最后一页
        /// </summary>
        public bool lastPage { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int size { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int startRow { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int endRow { get; set; }
        /// <summary>
        /// 入参
        /// </summary>
        public int pageSize { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int pageNum { get; set; }
    }

    /// <summary>
    /// 1316 医疗目录与医保目录匹配信息下载 Output data
    /// </summary>
    public class OutputDataQueryMedinsHilistMapByPage
    {
        /// <summary>
        /// 医疗目录编码
        /// </summary>
        public string med_list_codg { get; set; }

        /// <summary>
        /// 医保目录编码
        /// </summary>
        public string hilist_code { get; set; }

        /// <summary>
        /// 目录类别
        /// </summary>
        public string list_type { get; set; }

        /// <summary>
        /// 参保机构医保区划
        /// </summary>
        public string insu_admdvs { get; set; }

        /// <summary>
        /// 开始日期
        /// </summary>
        public string begndate { get; set; }

        /// <summary>
        /// 结束日期
        /// </summary>
        public string enddate { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string memo { get; set; }

        /// <summary>
        /// 有效标志
        /// </summary>
        public string vali_flag { get; set; }

        /// <summary>
        /// 唯一记录号
        /// </summary>
        public string rid { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public string updt_time { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string crter_id { get; set; }

        /// <summary>
        /// 创建人姓名
        /// </summary>
        public string crter_name { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public string crte_time { get; set; }

        /// <summary>
        /// 创建机构
        /// </summary>
        public string crte_optins_no { get; set; }

        /// <summary>
        /// 经办人
        /// </summary>
        public string opter_id { get; set; }

        /// <summary>
        /// 经办人姓名
        /// </summary>
        public string opter_name { get; set; }

        /// <summary>
        /// 经办时间
        /// </summary>
        public string opt_time { get; set; }

        /// <summary>
        /// 经办机构
        /// </summary>
        public string optins_no { get; set; }

        /// <summary>
        /// 统筹区
        /// </summary>
        public string poolarea_no { get; set; }
    }
    
    /// <summary>
    /// 1317 医药机构目录匹配信息查询 output
    /// </summary>
    public class OutputQueryMedListMapByPage
    {
        /// <summary>
        /// 数据总量
        /// </summary>
        public int recordCounts { get; set; }
        /// <summary>
        /// 总页数
        /// </summary>
        public int pages { get; set; }
        /// <summary>
        /// 数据
        /// </summary>
        public List<OutputDataQueryMedListMapByPage> data { get; set; }
        /// <summary>
        /// 是否第一页
        /// </summary>
        public bool firstPage { get; set; }
        /// <summary>
        /// 是否最后一页
        /// </summary>
        public bool lastPage { get; set; }
        /// <summary>
        /// 每页数量
        /// </summary>
        public int size { get; set; }
        /// <summary>
        /// 开始行数
        /// </summary>
        public int startRow { get; set; }
        /// <summary>
        /// 结束行数
        /// </summary>
        public int endRow { get; set; }
        /// <summary>
        /// 每页条数
        /// </summary>
        public int pageSize { get; set; }
        /// <summary>
        /// 当前页数
        /// </summary>
        public int pageNum { get; set; }
    }
    /// <summary>
    /// 1317 医药机构目录匹配信息查询 output data
    /// </summary>
    public class OutputDataQueryMedListMapByPage
    {
        /// <summary>
        /// 
        /// </summary>
        public string insu_admdvs { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string med_list_codg { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string poolarea_no { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string item_cont { get; set; }
        /// <summary>
        /// 阿莫西林胶囊
        /// </summary>
        public string medins_list_name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string memo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string opter_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string rid { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string crte_optins_no { get; set; }
        /// <summary>
        /// 0.25g*50粒
        /// </summary>
        public string spec { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string begndate { get; set; }
        /// <summary>
        /// 国药准字H50020726
        /// </summary>
        public string aprvno { get; set; }
        /// <summary>
        /// 硬胶囊
        /// </summary>
        public string dosform { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string fixmedins_code { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string crte_time { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string opter_name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string optins_no { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string exct_cont { get; set; }
        /// <summary>
        /// 0.25g*50粒
        /// </summary>
        public string pacspec { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string opt_time { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string crter_name { get; set; }
        /// <summary>
        /// 盒
        /// </summary>
        public string prcunt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string list_type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string medins_list_codg { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string enddate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string vali_flag { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string crter_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string updt_time { get; set; }
    }
    
    /// <summary>
    /// 1318 医保目录限价信息查询 output
    /// </summary>
    public class OutputQueryLmtprcByPage
    {
        /// <summary>
        /// 数据总量
        /// </summary>
        public int recordCounts { get; set; }
        /// <summary>
        /// 总页数
        /// </summary>
        public int pages { get; set; }
        /// <summary>
        /// 数据
        /// </summary>
        public List<OutputDataQueryLmtprcByPage> data { get; set; }
        /// <summary>
        /// 是否第一页
        /// </summary>
        public bool firstPage { get; set; }
        /// <summary>
        /// 是否最后一页
        /// </summary>
        public bool lastPage { get; set; }
        /// <summary>
        /// 每页数量
        /// </summary>
        public int size { get; set; }
        /// <summary>
        /// 开始行数
        /// </summary>
        public int startRow { get; set; }
        /// <summary>
        /// 结束行数
        /// </summary>
        public int endRow { get; set; }
        /// <summary>
        /// 每页条数
        /// </summary>
        public int pageSize { get; set; }
        /// <summary>
        /// 当前页数
        /// </summary>
        public int pageNum { get; set; }
    }
    /// <summary>
    /// 1318 医保目录限价信息查询 output data
    /// </summary>
    public class OutputDataQueryLmtprcByPage
    { 
        /// <summary>
        /// 医保目录编码
        /// </summary>
        public string hilist_code { get; set; }

        /// <summary>
        /// 医保目录限价类型
        /// </summary>
        public string hilist_lmtpric_type { get; set; }

        /// <summary>
        /// 医保目录超限处理方式
        /// </summary>
        public string overlmt_dspo_way { get; set; }

        /// <summary>
        /// 参保机构医保区划
        /// </summary>
        public string insu_admdvs { get; set; }

        /// <summary>
        /// 开始日期
        /// </summary>
        public string begndate { get; set; }

        /// <summary>
        /// 结束日期
        /// </summary>
        public string enddate { get; set; }

        /// <summary>
        /// 医保目录定价上限金额
        /// </summary>
        public decimal hilist_pric_uplmt_amt { get; set; }

        /// <summary>
        /// 有效标志
        /// </summary>
        public string vali_flag { get; set; }

        /// <summary>
        /// 唯一记录号
        /// </summary>
        public string rid { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public string updt_time { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string crter_id { get; set; }

        /// <summary>
        /// 创建人姓名
        /// </summary>
        public string crter_name { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public string crte_time { get; set; }

        /// <summary>
        /// 创建机构
        /// </summary>
        public string crte_optins_no { get; set; }

        /// <summary>
        /// 经办人
        /// </summary>
        public string opter_id { get; set; }

        /// <summary>
        /// 经办人姓名
        /// </summary>
        public string opter_name { get; set; }

        /// <summary>
        /// 经办时间
        /// </summary>
        public string opt_time { get; set; }

        /// <summary>
        /// 经办机构
        /// </summary>
        public string optins_no { get; set; }

        /// <summary>
        /// 表名
        /// </summary>
        public string tabname { get; set; }

        /// <summary>
        /// 统筹区
        /// </summary>
        public string poolarea_no { get; set; }
    }

    /// <summary>
    /// 1319 医保目录先自付比例信息查询  output
    /// </summary>
    public class OutputQuerySelfpayByPage
    {
        /// <summary>
        /// 数据总量
        /// </summary>
        public int recordCounts { get; set; }
        /// <summary>
        /// 总页数
        /// </summary>
        public int pages { get; set; }
        /// <summary>
        /// 数据
        /// </summary>
        public List<OutputDataQuerySelfpayByPage> data { get; set; }
        /// <summary>
        /// 是否第一页
        /// </summary>
        public bool firstPage { get; set; }
        /// <summary>
        /// 是否最后一页
        /// </summary>
        public bool lastPage { get; set; }
        /// <summary>
        /// 每页数量
        /// </summary>
        public int size { get; set; }
        /// <summary>
        /// 开始行数
        /// </summary>
        public int startRow { get; set; }
        /// <summary>
        /// 结束行数
        /// </summary>
        public int endRow { get; set; }
        /// <summary>
        /// 每页条数
        /// </summary>
        public int pageSize { get; set; }
        /// <summary>
        /// 当前页数
        /// </summary>
        public int pageNum { get; set; }
    }
    /// <summary>
    /// 1319 医保目录先自付比例信息查询 output data
    /// </summary>
    public class OutputDataQuerySelfpayByPage
    {
        /// <summary>
        /// 医保目录编码
        /// </summary>
        public string hilist_code { get; set; }

        /// <summary>
        /// 医保目录自付比例人员类别
        /// </summary>
        public string selfpay_prop_psn_type { get; set; }

        /// <summary>
        /// 目录自付比例类别
        /// </summary>
        public string selfpay_prop_type { get; set; }

        /// <summary>
        /// 参保机构医保区划
        /// </summary>
        public string insu_admdvs { get; set; }

        /// <summary>
        /// 开始日期
        /// </summary>
        public string begndate { get; set; }

        /// <summary>
        /// 结束日期
        /// </summary>
        public string enddate { get; set; }

        /// <summary>
        /// 自付比例
        /// </summary>
        public decimal selfpay_prop { get; set; }

        /// <summary>
        /// 有效标志
        /// </summary>
        public string vali_flag { get; set; }

        /// <summary>
        /// 唯一记录号
        /// </summary>
        public string rid { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public string updt_time { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string crter_id { get; set; }

        /// <summary>
        /// 创建人姓名
        /// </summary>
        public string crter_name { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public string crte_time { get; set; }

        /// <summary>
        /// 创建机构
        /// </summary>
        public string crte_optins_no { get; set; }

        /// <summary>
        /// 经办人
        /// </summary>
        public string opter_id { get; set; }

        /// <summary>
        /// 经办人姓名
        /// </summary>
        public string opter_name { get; set; }

        /// <summary>
        /// 经办时间
        /// </summary>
        public string opt_time { get; set; }

        /// <summary>
        /// 经办机构
        /// </summary>
        public string optins_no { get; set; }

        /// <summary>
        /// 表名
        /// </summary>
        public string tabname { get; set; }

        /// <summary>
        /// 统筹区
        /// </summary>
        public string poolarea_no { get; set; }
    }
    
    
    
    
    /// <summary>
    /// 明细审核事前 事中分析输出
    /// </summary>
    public class OutputriskConService
    {
        public List<DatariskConServiceresult> result { get; set; }
    }
    public class DatariskConServiceresult
    {
        /// <summary>
        /// 
        /// </summary>
        public List<Judge_result_detail_dtosItem> judge_result_detail_dtos { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string rule_id { get; set; }
        /// <summary>
        /// 本品用于清热除湿，益气化瘀。用于湿热瘀阻所致的带下病、腹痛，症见带下量多、色黄质稠、臭秽，小腹疼痛，腰骶酸痛，神疲乏力；慢性盆腔炎、子宫内膜炎、慢性宫颈炎见上述证候者。规格:
        /// </summary>
        public string vola_evid { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string mdtrt_id { get; set; }
        /// <summary>
        /// 单次就诊性别用药禁忌_事中
        /// </summary>
        public string rule_name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string vola_amt_stas { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string jr_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string patn_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string sev_deg { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int vola_amt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string vola_bhvr_type { get; set; }
        /// <summary>
        /// [妇科千金片/]为女性使用药物，参保人当前信息显示性别为：男
        /// </summary>
        public string vola_cont { get; set; }
    }

    public class Judge_result_detail_dtosItem
    {
        /// <summary>
        /// 
        /// </summary>
        public string vola_item_type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string mdtrt_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string jrd_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string patn_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string rx_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal vola_amt { get; set; }

        public static implicit operator List<object>(Judge_result_detail_dtosItem v)
        {
            throw new NotImplementedException();
        }
    }

    /// <summary>
    /// 结算退款基金分项拓展字段
    /// </summary>
    public class setl_proc_info
    {
        public double hifpPayInscp { get; set; }
        public string polItemCode { get;set; }
        public double poolPropSelfpay { get; set; }
        public double hifpPay { get; set; }
    }
    /// <summary>
    /// 结算基金支付分项（浙江）
    /// </summary>
    public class SetlinfoexpcontentZJ
    { 
        public double clcYearAcctPay { get; set; }
        public double Q0001 { get;set; }
        public double crtYearAcctPay { get; set; }
    }
    /// <summary>
    /// 结算基金支付分项（其他）
    /// </summary>
    public class Setlinfoexpcontent
    { 
        /// <summary>
        /// 钱包余额
        /// </summary>
        public double medIns_wallet_balance { get; set; }
        /// <summary>
        /// 钱包支付
        /// </summary>
        public double medIns_wallet_pay { get;set; }
    }
    
    
    public class outputsignInOut
    {
        public signInOut signinoutb { get; set; }
    }

    public class outputsignInOutShandong
    {
        public signInOut result { get; set; }
    }
    public class signInOut
    {
        public string sign_no { get; set; }
        public string sign_time { get; set; }
    }
    public class outputQueryPsnInfo
    {
        /// <summary>
        /// 
        /// </summary>
        public List<Idetinfo> idetinfo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Baseinfo baseinfo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<Insuinfo> insuinfo { get; set; }
    }
    public class Idetinfo
    {
        public string psn_idet_type { get; set; }
        public string psn_type_lv { get; set; } 
        public string memo {  get; set; }   
        public string begntime { get; set; }
        public string endtime { get; set; }
    }

    public class Baseinfo
    {
        /// <summary>
        /// 
        /// </summary>
        public string certno { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string psn_no { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string gend { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string exp_content { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string brdy { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string naty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string psn_cert_type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string psn_name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal age { get; set; }
        /// <summary>
        /// 人员管理码 202504新增
        /// </summary>
        public string psn_mgtcode { get; set; }
    }
    public class Insuinfo
    {
        /// <summary>
        /// 
        /// </summary>
        public string insuplc_admdvs { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string psn_insu_date { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string cvlserv_flag { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double balc { get; set; }
        /// <summary>
        /// 浙江华民软件有限公司
        /// </summary>
        public string emp_name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string psn_type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string psn_insu_stas { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string insutype { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string paus_insu_date { get; set; }

        public static implicit operator List<object>(Insuinfo v)
        {
            throw new NotImplementedException();
        }
    }
    /// <summary>
    /// 2101 2102 药店结算输出
    /// </summary>
    public class outputDrugstoreSettleAccountsPreA
    {
        /// <summary>
        /// 
        /// </summary>
        public List<Detlcutinfo> detlcutinfo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Setlinfo setlinfo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<Setldetail> setldetail { get; set; }
    }
    public class Detlcutinfo
    {
        /// <summary>
        /// 
        /// </summary>
        public string bas_medn_flag { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string med_chrgitm_type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal det_item_fee_sumamt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string hi_nego_drug_flag { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int fulamt_ownpay_amt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal cnt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal pric { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string memo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string hosp_part_amt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string feedetl_sn { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal inscp_scp_amt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string drt_reim_flag { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int overlmt_amt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string list_sp_item_flag { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal pric_uplmt_amt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int selfpay_prop { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string chld_medc_flag { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int preselfpay_amt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string chrgitm_lv { get; set; }
    }
    public class Setlinfo
    {
        public string setl_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string setl_time { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double cvlserv_pay { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double hifdm_pay { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string cvlserv_flag { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string med_type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string exp_content { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string brdy { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string naty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double psn_cash_pay { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string certno { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double hifmi_pay { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string psn_no { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double act_pay_dedc { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string mdtrt_cert_type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double balc { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string medins_setl_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string psn_cert_type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double acct_mulaid_pay { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string clr_way { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double hifob_pay { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double oth_pay { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double medfee_sumamt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double hifes_pay { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string gend { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string mdtrt_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double acct_pay { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double fund_pay_sumamt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double fulamt_ownpay_amt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double hosp_part_amt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double inscp_scp_amt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string insutype { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double maf_pay { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string psn_name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double psn_part_amt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string clr_optins { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double pool_prop_selfpay { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string psn_type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double hifp_pay { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double overlmt_selfpay { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double preselfpay_amt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int age { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string clr_type { get; set; }
    }
    public class Setldetail
    {
        /// <summary>
        /// 
        /// </summary>
        public string fund_pay_type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double fund_payamt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string setl_proc_info { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double crt_payb_lmt_amt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double inscp_scp_amt { get; set; }
        /// <summary>
        /// 城镇职工基本医疗保险个人账户基金
        /// </summary>
        public string fund_pay_type_name { get; set; }
    }
    /// <summary>
    /// 2103 药店结算撤销
    /// </summary>
    public class outputDrugstoreSettleRevoke
    {
        /// <summary>
        /// 
        /// </summary>
        public SetlinfoRevoke setlinfo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<Setldetail> setldetail { get; set; }
    }
    public class SetlinfoRevoke
    {
        /// <summary>
        /// 
        /// </summary>
        public string setl_time { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double cvlserv_pay { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double hifdm_pay { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double psn_pay { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double hifmi_pay { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double act_pay_dedc { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double balc { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string medins_setl_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double acct_mulaid_pay { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double hifob_pay { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double oth_pay { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double medfee_sumamt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double hifes_pay { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string mdtrt_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double acct_pay { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double fund_pay_sumamt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double fulamt_ownpay_amt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string setl_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double inscp_scp_amt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double maf_pay { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int cash_payamt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string clr_optins { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double pool_prop_selfpay { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double hifp_pay { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double overlmt_selfpay { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double preselfpay_amt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string exp_content { get; set; }
    }
    /// <summary>
    /// 2201门诊挂号出参output
    /// </summary>
    public class OutputOutpatientRregistration
    {
        /// <summary>
        /// 
        /// </summary>
        public OutpatientRregistration data { get; set; }
    }
    /// <summary>
    /// 2201门诊挂号出参data
    /// </summary>
    public class OutpatientRregistration
    {
        /// <summary>
        /// 
        /// </summary>
        public string psn_no { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string mdtrt_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string exp_content { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ipt_otp_no { get; set; }
    }

    /// <summary>
    /// 5206人员费用累计 output
    /// </summary>

    public class outputCuminfo
    {
        public List<Cuminfo> cuminfo { get; set; }
    }
    /// <summary>
    /// 5201 就诊记录查询 output
    /// </summary>
    public class OutputMdtrtinfo
    {
        /// <summary>
        /// 
        /// </summary>
        public List <DataMdtrtinfo> mdtrtinfo { get; set; }
    }
    /// <summary>
    /// 5201 就诊记录查询 output
    /// </summary>
    public class DataMdtrtinfo
    {
    /// <summary>
    /// 出院科室编码
    /// </summary>
    public string dscg_dept_codg { get; set; }
    /// <summary>
    /// 入院科室编码
    /// </summary>
    public string adm_dept_codg { get; set; }
    /// <summary>
    /// 医疗类别
    /// </summary>
    public string med_type { get; set; }
    /// <summary>
    /// 备注
    /// </summary>
    public string memo { get; set; }
    /// <summary>
    /// 经办人ID
    /// </summary>
    public string opter_id { get; set; }
    /// <summary>
    /// 跨年度住院标志
    /// </summary>
    public string ars_year_ipt_flag { get; set; }
    /// <summary>
    /// 胎儿数
    /// </summary>
    public int fetus_cnt { get; set; }
    /// <summary>
    /// 灵活就业标志 
    /// </summary>
    public string flxempe_flag { get; set; }
    /// <summary>
    /// 人员编号
    /// </summary>
    public string psn_no { get; set; }
    /// <summary>
    /// 胎次
    /// </summary>
    public int fetts { get; set; }
    /// <summary>
    /// 联系方式
    /// </summary>
    public string tel { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string dscg_dept_name { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string dscg_maindiag_code { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string gend { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string matn_type { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string mdtrt_id { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string birctrl_type { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string adm_dept_name { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string begntime { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string die_date { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string insutype { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string pre_pay_flag { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string ipt_otp_no { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string maf_psn_flag { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string oprn_oprt_name { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string cop_flag { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string psn_type { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string chfpdr_name { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string main_cond_dscr { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string coner_name { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string birctrl_matn_date { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string cvlserv_flag { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string medrcdno { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string emp_name { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string dscg_way { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string brdy { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string naty { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string inhosp_stas { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string otp_diag_info { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string certno { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string dise_codg { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string pret_flag { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string latechb_flag { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string mdtrt_cert_type { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string opter_name { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string oprn_oprt_code { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string ipt_days { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string fpsc_no { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string psn_cert_type { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string atddr_no { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string nwb_flag { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string dscg_bed { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string adm_bed { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string opt_time { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string geso_val { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string endtime { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string psn_name { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string insu_optins { get; set; }
    /// <summary>
    /// I度痔
    /// </summary>
    public string dise_name { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string dscg_maindiag_name { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public int age { get; set; }
    }
    
    /// <summary>
    /// 5206人员费用累计 data
    /// </summary>
    public class Cuminfo
    {
        /// <summary>
        /// 
        /// </summary>
        public string cum_type_code { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string year { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal cum { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string cum_ym { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string insutype { get; set; }
    }

    public class outputDataOpsp7202
    {
        public List<DataOpsp7202> data { get; set; }
    }
    public class DataOpsp7202
    {
        /// <summary>
        /// 
        /// </summary>
        public string auth_rxno { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string epc_token { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string expires_in { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string fixmedins_code { get; set; }
        /// <summary>
        /// 宁
        /// </summary>
        public string fixmedins_name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string prsc_time { get; set; }
        /// <summary>
        /// 精神科
        /// </summary>
        public string dept_name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string dise_codg { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string dise_name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string valid_end_time { get; set; }
        /// <summary>
        /// 处方附加属性代码
        /// </summary>
        public string rx_exra_attr_code { get; set; }
        /// <summary>
        /// 处方附加属性名称
        /// </summary>
        public string rx_exra_attr_name { get; set; }
    }

    public class outputDataOpsp7203
    {
        /// <summary>
        /// 
        /// </summary>
        public DataOpsp7203 data { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<RxDetlList> rxDetlList { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public RxOtpinfo rxOtpinfo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<RxDiselist> rxDiseList { get; set; }
    }
    public class DataOpsp7203
    {
        /// <summary>
        /// 
        /// </summary>
        public string hi_rxno { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string fixmedins_code { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string fixmedins_name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string prsc_time { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string valid_end_time { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int? reptd_cnt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string rx_file { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string rx_trace_code { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string prsc_dept_name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string rx_type_code { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string rx_type_name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string long_rx_flag { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string file_suffix { get; set; }
    }

    public class RxDetlList
    {
        /// <summary>
        /// 
        /// </summary>
        public string med_list_codg { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string fixmedins_hilist_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string hosp_prep_flag { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string rx_item_type_code { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string rx_item_type_name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string tcmdrug_type_name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string tcmdrug_type_code { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string tcmherb_foote { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string medn_type_code { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string medn_type_name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string main_medc_flag { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string urgt_flag { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string bas_medn_flag { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string imp_drug_flag { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string drug_prodname { get; set; }
        /// <summary>
        /// 阿莫西林片
        /// </summary>
        public string drug_genname { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string drug_dosform { get; set; }
        /// <summary>
        /// 按C16H19N3O5S计0.25g*24片/盒
        /// </summary>
        public string drug_spec { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string prdr_name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal drug_cnt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string medc_way_codg { get; set; }
        /// <summary>
        /// 口服
        /// </summary>
        public string medc_way_dscr { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string medc_endtime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string medc_begntime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal medc_days { get; set; }
        /// <summary>
        /// 片
        /// </summary>
        public string drug_dosunt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal sin_doscnt { get; set; }
        /// <summary>
        /// 片
        /// </summary>
        public string sin_dosunt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string used_frqu_codg { get; set; }
        /// <summary>
        /// 每天一次
        /// </summary>
        public string used_frqu_name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string drug_totlcnt { get; set; }
        /// <summary>
        /// 盒
        /// </summary>
        public string drug_totlnt_emp { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string own_expense_flag { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string hi_nego_drug_flag { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string refer_d_channel_flag { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string bidding_drug_flag { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string hosp_appr_flag { get; set; }
        /// <summary>
        /// 取药标志位 该药品是否已完成取药结算
        /// </summary>
        public string take_drug_flag { get; set; }
        /// <summary>
        /// 是否OTC药品 0-处方药品1-otc药品
        /// </summary>
        public string otc_flag { get; set; }
        /// <summary>
        /// 自费原因类型
        /// </summary>
        public string self_pay_rea { get; set; }
        /// <summary>
        /// 自费原因描述
        /// </summary>
        public string real_dscr { get; set; }
        
    }

    public class RxOtpinfo
    {
        /// <summary>
        /// 
        /// </summary>
        public string med_type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string patn_name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal patn_age { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string patn_hgt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal? patn_wt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string gend { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal? geso_val { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string nwb_flag { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string nwb_age { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int? suck_prd_flag { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string algs_his { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string dise_codg { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string dise_name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string otp_ipt_flag { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string main_diag_code { get; set; }
        /// <summary>
        /// 麻风
        /// </summary>
        public string main_diag_name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string dise_cond_dscr { get; set; }
    }

    public class RxDiselist
    {
        /// <summary>
        /// 诊断类别
        /// 代码标识：diag_type
        /// 是否必填：Y
        /// </summary>
        public string diag_type { get; set; }

        /// <summary>
        /// 主诊断标志
        /// 代码标识：maindiag_flag
        /// 是否必填：Y
        /// 0-否、1-是
        /// </summary>
        public string maindiag_flag { get; set; }

        /// <summary>
        /// 诊断排序号
        /// 代码标识：diag_srt_no
        /// 是否必填：Y
        /// </summary>
        public int diag_srt_no { get; set; }

        /// <summary>
        /// 诊断代码
        /// 代码标识：diag_code
        /// 是否必填：Y
        /// </summary>
        public string diag_code { get; set; }

        /// <summary>
        /// 诊断名称
        /// 代码标识：diag_name
        /// 是否必填：Y
        /// </summary>
        public string diag_name { get; set; }

        /// <summary>
        /// 中医病名代码
        /// 代码标识：tcm_dise_code
        /// 是否必填：N
        /// </summary>
        public string tcm_dise_code { get; set; }

        /// <summary>
        /// 中医病名名称
        /// 代码标识：tcm_dise_name
        /// 是否必填：N
        /// </summary>
        public string tcm_dise_name { get; set; }

        /// <summary>
        /// 中医证候代码
        /// 代码标识：tcmsymp_code
        /// 是否必填：N
        /// </summary>
        public string tcmsymp_code { get; set; }

        /// <summary>
        /// 中医证候
        /// 代码标识：tcmsymp
        /// 是否必填：N
        /// </summary>
        public string tcmsymp { get; set; }
    }
    
    public class OutputOpsp7000
    {
        public DataOutputOpsp7000 data { get; set; }
        public List<ListOutputOpsp7000> list { get; set; }
    }
    public class DataOutputOpsp7000
    {
        public int total {  get; set; }
        public int Size {  get; set; }  
    }
    public class ListOutputOpsp7000
    {
        public string med_list_codg { get; set; }
        public string nat_drug_no { get; set; }
        public string genname { get; set; }
        public string prodname { get; set; }
        public string reg_name { get; set; }
        public string list_type { get; set; }
        public string list_type_name { get; set; }
        public string spec_name { get; set; }
        public string prdr_name { get; set; }
        public string aprvno { get; set; }
        public string dosform_name { get; set; }
        public string min_pacunt { get; set; }
        public string min_pac_cnt { get; set; }
        public string min_prepunt { get; set; }
        public string poolarea_no { get; set; }
        public string poolarea_name { get; set; }
        public string dualchnl_flag { get; set; }
        public string begntime { get; set; }
        public string endtime { get; set; }

    }

    public class OutputOpsp7204
    {
        public DataOutputOpsp7204 data { get; set; }
    }
    public class DataOutputOpsp7204
    {
        public string flag { get; set; }
        public string rx_chk_biz_sn { get; set; }
        public string rx_info_verify_result { get; set; }
    }


    /// <summary>
    /// 5301 人员慢特病信息output
    /// </summary>
    public class OutputQueryPsnOpspReg
    {
        /// <summary>
        /// 人员慢特病备案信息明细
        /// </summary>
        public List<FeedetailQueryPsnOpspReg>  feedetail { get; set; }
    }
    /// <summary>
    /// 5301 人员慢特病备案信息 feedetail
    /// </summary>
    public class FeedetailQueryPsnOpspReg
    {
        /// <summary>
        /// 
        /// </summary>
        public string begndate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string enddate { get; set; }
        /// <summary>
        /// 头和颈部血管治疗性超声
        /// </summary>
        public string opsp_dise_name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string exp_content { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string opsp_dise_code { get; set; }
    }


    /// <summary>
    /// 5201 人员就诊信息查询 output
    /// </summary>
    public class OutputQueryMdtrtInfo
    {
        /// <summary>
        /// 5201 人员就诊信息查询 mdtrtinfo
        /// </summary>
        public List<OutputQueryMdtrtInfoMdtrtinfo> mdtrtinfo { get; set; }
    }
    /// <summary>
    /// 5201 人员就诊信息查询 mdtrtinfo
    /// </summary>
    public class OutputQueryMdtrtInfoMdtrtinfo
    {
        /// <summary>
        /// 出院科室编码
        /// </summary>
        public string dscg_dept_codg { get; set; }

        /// <summary>
        /// 入院科室编码
        /// </summary>
        public string adm_dept_codg { get; set; }

        /// <summary>
        /// 医疗类别
        /// </summary>
        public string med_type { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string memo { get; set; }

        /// <summary>
        /// 经办人ID
        /// </summary>
        public string opter_id { get; set; }

        /// <summary>
        /// 跨年度住院标志
        /// </summary>
        public string ars_year_ipt_flag { get; set; }

        /// <summary>
        /// 胎儿数
        /// </summary>
        public string fetus_cnt { get; set; }

        /// <summary>
        /// 灵活就业标志
        /// </summary>
        public string flxempe_flag { get; set; }

        /// <summary>
        /// 人员编号
        /// </summary>
        public string psn_no { get; set; }

        /// <summary>
        /// 胎次
        /// </summary>
        public string fetts { get; set; }

        /// <summary>
        /// 联系电话
        /// </summary>
        public string tel { get; set; }

        /// <summary>
        /// 出院科室名称
        /// </summary>
        public string dscg_dept_name { get; set; }

        /// <summary>
        /// 住院主诊断代码
        /// </summary>
        public string dscg_maindiag_code { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public string gend { get; set; }

        /// <summary>
        /// 生育类别
        /// </summary>
        public string matn_type { get; set; }

        /// <summary>
        /// 就诊ID
        /// </summary>
        public string mdtrt_id { get; set; }

        /// <summary>
        /// 计划生育手术类别
        /// </summary>
        public string birctrl_type { get; set; }

        /// <summary>
        /// 入院科室名称
        /// </summary>
        public string adm_dept_name { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public string begntime { get; set; }

        /// <summary>
        /// 死亡日期
        /// </summary>
        public string die_date { get; set; }

        /// <summary>
        /// 险种类型
        /// </summary>
        public string insutype { get; set; }

        /// <summary>
        /// 先行支付标志
        /// </summary>
        public string pre_pay_flag { get; set; }

        /// <summary>
        /// 住院/门诊号
        /// </summary>
        public string ipt_otp_no { get; set; }

        /// <summary>
        /// 医疗救助对象标志
        /// </summary>
        public string maf_psn_flag { get; set; }

        /// <summary>
        /// 医疗救助对象标志
        /// </summary>
        public string oprn_oprt_name { get; set; }

        /// <summary>
        /// 伴有并发症标志
        /// </summary>
        public string cop_flag { get; set; }

        /// <summary>
        /// 人员类别
        /// </summary>
        public string psn_type { get; set; }

        /// <summary>
        /// 主诊医师姓名
        /// </summary>
        public string chfpdr_name { get; set; }

        /// <summary>
        /// 主要病情描述
        /// </summary>
        public string main_cond_dscr { get; set; }

        /// <summary>
        /// 联系人姓名
        /// </summary>
        public string coner_name { get; set; }

        /// <summary>
        /// 计划生育手术或生育日期
        /// </summary>
        public string birctrl_matn_date { get; set; }

        /// <summary>
        /// 公务员标志
        /// </summary>
        public string cvlserv_flag { get; set; }

        /// <summary>
        /// 病历号
        /// </summary>
        public string medrcdno { get; set; }

        /// <summary>
        /// 单位名称
        /// </summary>
        public string emp_name { get; set; }

        /// <summary>
        /// 离院方式
        /// </summary>
        public string dscg_way { get; set; }

        /// <summary>
        /// 出生日期
        /// </summary>
        public string brdy { get; set; }

        /// <summary>
        /// 民族
        /// </summary>
        public string naty { get; set; }

        /// <summary>
        /// 在院状态
        /// </summary>
        public string inhosp_stas { get; set; }

        /// <summary>
        /// 门诊诊断信息
        /// </summary>
        public string otp_diag_info { get; set; }

        /// <summary>
        /// 证件号码
        /// </summary>
        public string certno { get; set; }

        /// <summary>
        /// 病种编码
        /// </summary>
        public string dise_codg { get; set; }

        /// <summary>
        /// 早产标志
        /// </summary>
        public string pret_flag { get; set; }

        /// <summary>
        /// 晚育标志
        /// </summary>
        public string latechb_flag { get; set; }

        /// <summary>
        /// 就诊凭证类型
        /// </summary>
        public string mdtrt_cert_type { get; set; }

        /// <summary>
        /// 经办人姓名
        /// </summary>
        public string opter_name { get; set; }

        /// <summary>
        /// 手术操作代码
        /// </summary>
        public string oprn_oprt_code { get; set; }

        /// <summary>
        /// 住院天数
        /// </summary>
        public decimal ipt_days { get; set; }

        /// <summary>
        /// 计划生育服务证号
        /// </summary>
        public string fpsc_no { get; set; }

        /// <summary>
        /// 人员证件类型
        /// </summary>
        public string psn_cert_type { get; set; }

        /// <summary>
        /// 主治医生编码
        /// </summary>
        public string atddr_no { get; set; }

        /// <summary>
        /// 新生儿标志
        /// </summary>
        public string nwb_flag { get; set; }

        /// <summary>
        /// 出院床位
        /// </summary>
        public string dscg_bed { get; set; }

        /// <summary>
        /// 入院床位
        /// </summary>
        public string adm_bed { get; set; }

        /// <summary>
        /// 经办时间
        /// </summary>
        public string opt_time { get; set; }

        /// <summary>
        /// 孕周数
        /// </summary>
        public decimal geso_val { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public string endtime { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        public string psn_name { get; set; }

        /// <summary>
        /// 参保机构医保区划
        /// </summary>
        public string insu_optins { get; set; }

        /// <summary>
        /// 病种名称
        /// </summary>
        public string dise_name { get; set; }

        /// <summary>
        /// 住院主诊断名称
        /// </summary>
        public string dscg_maindiag_name { get; set; }

        /// <summary>
        /// 年龄
        /// </summary>
        public decimal age { get; set; }
    }

    /// <summary>
    /// 5202 诊断信息查询 output
    /// </summary>
    public class OutputQuerySetlDiseList
    {
        /// <summary>
        /// 5202 诊断信息查询 diseinfo
        /// </summary>
        public List <OutputQuerySetlDiseListDiseinfo> diseinfo { get; set; }
    }
    /// <summary>
    /// 5202 诊断信息查询 diseinfo
    /// </summary>
    public class OutputQuerySetlDiseListDiseinfo
    {
        /// <summary>
        /// 就诊ID
        /// </summary>
        public string mdtrt_id { get; set; }
        /// <summary>
        /// 诊断时间
        /// </summary>
        public string diag_time { get; set; }
        /// <summary>
        /// 经办时间
        /// </summary>
        public string opt_time { get; set; }
        /// <summary>
        /// 诊断类别
        /// </summary>
        public string diag_type { get; set; }
        /// <summary>
        /// 经办人ID
        /// </summary>
        public string opter_id { get; set; }
        /// <summary>
        /// 诊断信息ID
        /// </summary>
        public string diag_info_id { get; set; }
        /// <summary>
        /// 诊断医生姓名
        /// </summary>
        public string dise_dor_name { get; set; }
        /// <summary>
        /// 出入院诊断类别
        /// </summary>
        public string inout_diag_type { get; set; }
        /// <summary>
        /// 诊断医生编码
        /// </summary>
        public string dise_dor_no { get; set; }
        /// <summary>
        /// 主诊断标志
        /// </summary>
        public string maindiag_flag { get; set; }
        /// <summary>
        /// 人员编号
        /// </summary>
        public string psn_no { get; set; }
        /// <summary>
        /// 经办人姓名
        /// </summary>
        public string opter_name { get; set; }
        /// <summary>
        /// 诊断科室
        /// </summary>
        public string diag_dept { get; set; }
        /// <summary>
        /// 诊断排序号
        /// </summary>
        public int diag_srt_no { get; set; }
        /// <summary>
        /// 诊断名称
        /// </summary>
        public string diag_name { get; set; }
        /// <summary>
        /// 入院病情
        /// </summary>
        public string adm_cond { get; set; }
        /// <summary>
        /// 诊断代码
        /// </summary>
        public string diag_code { get; set; }
    }
    
    /// <summary>
    /// 5203 结算信息查询 output 
    /// </summary>
    public class OutputQuerySetlInfo
    {
	    /// <summary>
	    /// 5203 结算信息查询 结算详情setlinfo
	    /// </summary>
	    public OutputQuerySetlinfoSetlinfo setlinfo { get; set; }
	    /// <summary>
	    /// 5203 结算信息查询 结算明细setldetail
	    /// </summary>
	    public List <OutputQuerySetlinfoSetldetail> setldetail { get; set; }
    }
    /// <summary>
    /// 5203 结算信息查询 结算详情setlinfo
    /// </summary>
    public class OutputQuerySetlinfoSetlinfo
    {
        /// <summary>
        /// 结算时间
        /// </summary>
        public string setl_time { get; set; }
        /// <summary>
        /// 公务员医疗补助资金支出
        /// </summary>
        public decimal cvlserv_pay { get; set; }
        /// <summary>
        /// 伤残人员医疗保障基金支出
        /// </summary>
        public decimal hifdm_pay { get; set; }
        /// <summary>
        /// 年度
        /// </summary>
        public string year { get; set; }
        /// <summary>
        /// 医疗类别
        /// </summary>
        public string med_type { get; set; }
        /// <summary>
        /// 个人支付金额
        /// </summary>
        public decimal psn_pay { get; set; }
        /// <summary>
        /// 经办人ID
        /// </summary>
        public string opter_id { get; set; }
        /// <summary>
        /// 开始日期
        /// </summary>
        public string begndate { get; set; }
        /// <summary>
        /// 灵活就业标志
        /// </summary>
        public string flxempe_flag { get; set; }
        /// <summary>
        /// 居民大病保险资金支出
        /// </summary>
        public decimal hifmi_pay { get; set; }
        /// <summary>
        /// 人员编号
        /// </summary>
        public string psn_no { get; set; }
        /// <summary>
        /// 实际支付起付线
        /// </summary>
        public decimal act_pay_dedc { get; set; }
        /// <summary>
        /// 医药机构结算ID
        /// </summary>
        public string medins_setl_id { get; set; }
        /// <summary>
        /// 个人账户共济支付金额
        /// </summary>
        public decimal acct_mulaid_pay { get; set; }
        /// <summary>
        /// 清算方式
        /// </summary>
        public string clr_way { get; set; }
        /// <summary>
        /// 其他支出
        /// </summary>
        public decimal oth_pay { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public string gend { get; set; }
        /// <summary>
        /// 就诊ID
        /// </summary>
        public string mdtrt_id { get; set; }
        /// <summary>
        /// 个人账户支出
        /// </summary>
        public decimal acct_pay { get; set; }
        /// <summary>
        /// 符合政策范围金额
        /// </summary>
        public decimal inscp_scp_amt { get; set; }
        /// <summary>
        /// 险种类型
        /// </summary>
        public string insutype { get; set; }
        /// <summary>
        /// 发票号
        /// </summary>
        public string invono { get; set; }
        /// <summary>
        /// 结束日期
        /// </summary>
        public string enddate { get; set; }
        /// <summary>
        /// 现金支付金额
        /// </summary>
        public decimal cash_payamt { get; set; }
        /// <summary>
        /// 人员类别
        /// </summary>
        public string psn_type { get; set; }
        /// <summary>
        /// 定点医药机构名称
        /// </summary>
        public string fixmedins_name { get; set; }
        /// <summary>
        /// 基本医疗保险统筹基金支出
        /// </summary>
        public decimal hifp_pay { get; set; }
        /// <summary>
        /// 新生儿标志
        /// </summary>
        public string new_flag { get; set; }
        /// <summary>
        /// overlmt_selfpay
        /// </summary>
        public decimal overlmt_selfpay { get; set; }
        /// <summary>
        /// 先行自付金额
        /// </summary>
        public decimal preselfpay_amt { get; set; }
        /// <summary>
        /// 支付地点类别
        /// </summary>
        public string pay_loc { get; set; }
        /// <summary>
        /// 清算类别
        /// </summary>
        public string clr_type { get; set; }
        /// <summary>
        /// 退费结算标志
        /// </summary>
        public string refd_setl_flag { get; set; }
        /// <summary>
        /// 公务员标志
        /// </summary>
        public string cvlserv_flag { get; set; }
        /// <summary>
        /// 单位名称
        /// </summary>
        public string emp_name { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public string brdy { get; set; }
        /// <summary>
        /// 民族
        /// </summary>
        public string naty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string upldFlag { get; set; }
        /// <summary>
        /// 证件号码
        /// </summary>
        public string certno { get; set; }
        /// <summary>
        /// 疾病代码
        /// </summary>
        public string dise_code { get; set; }
        /// <summary>
        /// 定点医疗机构代码
        /// </summary>
        public string fixmedins_code { get; set; }
        /// <summary>
        /// 起付线医院等级
        /// </summary>
        public string dedc_hosp_lv { get; set; }
        /// <summary>
        /// 经办人名称
        /// </summary>
        public string opter_name { get; set; }
        /// <summary>
        /// 账户余额
        /// </summary>
        public decimal balc { get; set; }
        /// <summary>
        /// 定点归属机构
        /// </summary>
        public string fixmedins_poolarea { get; set; }
        /// <summary>
        /// 人员证件类型
        /// </summary>
        public string psn_cert_type { get; set; }
        /// <summary>
        /// 职工大额医疗费用补助基金支出
        /// </summary>
        public decimal hifob_pay { get; set; }
        /// <summary>
        /// 医疗费总额
        /// </summary>
        public decimal medfee_sumamt { get; set; }
        /// <summary>
        /// 企业补充医疗保险基金支出
        /// </summary>
        public decimal hifes_pay { get; set; }
        /// <summary>
        /// 基金支付总额
        /// </summary>
        public decimal fund_pay_sumamt { get; set; }
        /// <summary>
        /// 经办时间
        /// </summary>
        public string opt_time { get; set; }
        /// <summary>
        /// 全自费金额
        /// </summary>
        public decimal fulamt_ownpay_amt { get; set; }
        /// <summary>
        /// 结算ID
        /// </summary>
        public string setl_id { get; set; }
        /// <summary>
        /// 医疗救助基金支出
        /// </summary>
        public decimal maf_pay { get; set; }
        /// <summary>
        /// 人员姓名
        /// </summary>
        public string psn_name { get; set; }
        /// <summary>
        /// 参保机构医保区划
        /// </summary>
        public string insu_optins { get; set; }
        /// <summary>
        /// 优抚对象基金支出
        /// </summary>
        public decimal pref_fund_pay { get; set; }
        /// <summary>
        /// 清算经办机构
        /// </summary>
        public string clr_optins { get; set; }
        /// <summary>
        /// 基本医疗保险统筹基金支付比例
        /// </summary>
        public decimal pool_prop_selfpay { get; set; }
        /// <summary>
        /// 疾病名称
        /// </summary>
        public string dise_name { get; set; }
        /// <summary>
        /// 限价医院等级
        /// </summary>
        public string lmtpric_hosp_lv { get; set; }
        /// <summary>
        /// 年龄
        /// </summary>
        public decimal age { get; set; }
        /// <summary>
        /// 就诊凭证类型
        /// </summary>
        public string dtrt_cert_type { get; set; }
        /// <summary>
        /// 医院等级
        /// </summary>
        public string hosp_lv { get; set; }
        /// <summary>
        /// 拓展字段 202506新增
        /// </summary>
        public string exp_content { get; set; }
    }
    /// <summary>
    /// 5203 结算信息查询 结算明细setldetail
    /// </summary>
    public class OutputQuerySetlinfoSetldetail
    {
        /// <summary>
        /// 基金支付类型
        /// </summary>
        public string fund_pay_type { get; set; }
        /// <summary>
        /// 基金支付金额
        /// </summary>
        public decimal fund_payamt { get; set; }
        /// <summary>
        /// 结算过程信息
        /// </summary>
        public string setl_proc_info { get; set; }
        /// <summary>
        /// 本次可支付限额金额
        /// </summary>
        public decimal crt_payb_lmt_amt { get; set; }
        /// <summary>
        /// 符合政策范围金额
        /// </summary>
        public decimal inscp_scp_amt { get; set; }
        /// <summary>
        /// 基金支付类型名称
        /// </summary>
        public string fund_pay_type_name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal pref_fund_pay { get; set; }
    }
    
    /// <summary>
    /// 5204 费用明细查询 费用命信息列表
    /// </summary>
    public class OutputQueryFeeList
    {
        /// <summary>
        /// 基本药物标志
        /// </summary>
        public string bas_medn_flag { get; set; }

        /// <summary>
        /// 开单医生编码
        /// </summary>
        public string bilg_dr_codg { get; set; }

        /// <summary>
        /// 医疗类别
        /// </summary>
        public string med_type { get; set; }

        /// <summary>
        /// 医保目录编码
        /// </summary>
        public string hilist_code { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string memo { get; set; }

        /// <summary>
        /// 经办人id
        /// </summary>
        public string opter_id { get; set; }

        /// <summary>
        /// 外检标志
        /// </summary>
        public string etip_flag { get; set; }

        /// <summary>
        /// 使用频次描述
        /// </summary>
        public string used_frqu_dscr { get; set; }

        /// <summary>
        /// 规格
        /// </summary>
        public string spec { get; set; }

        /// <summary>
        /// 中药使用方式
        /// </summary>
        public string tcmdrug_used_way { get; set; }

        /// <summary>
        /// 生产地类别
        /// </summary>
        public string prodplac_type { get; set; }

        /// <summary>
        /// 受单科室名称
        /// </summary>
        public string acord_dept_name { get; set; }

        /// <summary>
        /// 目录特项标志
        /// </summary>
        public string list_sp_item_flag { get; set; }

        /// <summary>
        /// 开单医师姓名
        /// </summary>
        public string bilg_dr_name { get; set; }

        /// <summary>
        /// 自付比例
        /// </summary>
        public decimal selfpay_prop { get; set; }

        /// <summary>
        /// 限制使用标志
        /// </summary>
        public string lmt_used_flag { get; set; }

        /// <summary>
        /// 受单医生编码
        /// </summary>
        public string orders_dr_code { get; set; }

        /// <summary>
        /// 单次剂量描述
        /// </summary>
        public string sin_dos_dscr { get; set; }

        /// <summary>
        /// 明细项目费用总额
        /// </summary>
        public decimal det_item_fee_sumamt { get; set; }

        /// <summary>
        /// 医保目录名称
        /// </summary>
        public string hilist_name { get; set; }

        /// <summary>
        /// 结算id
        /// </summary>
        public string mdtrt_id { get; set; }

        /// <summary>
        /// 出院带药标志
        /// </summary>
        public string dscg_tkdrug_flag { get; set; }

        /// <summary>
        /// 单价
        /// </summary>
        public decimal pric { get; set; }

        /// <summary>
        /// 费用明细流水号
        /// </summary>
        public string feedetl_sn { get; set; }

        /// <summary>
        /// 符合政策范围金额
        /// </summary>
        public decimal inscp_scp_amt { get; set; }

        /// <summary>
        /// 开单科室编码
        /// </summary>
        public string bilg_dept_codg { get; set; }

        /// <summary>
        /// 目录类别
        /// </summary>
        public string list_type { get; set; }

        /// <summary>
        /// overlmt_amt
        /// </summary>
        public decimal overlmt_amt { get; set; }

        /// <summary>
        /// 儿童用药标志
        /// </summary>
        public string chld_medc_flag { get; set; }

        /// <summary>
        /// 剂型名称
        /// </summary>
        public string dosform_name { get; set; }

        /// <summary>
        /// 医院审批标志
        /// </summary>
        public string hosp_appr_flag { get; set; }

        /// <summary>
        /// 先行自付金额
        /// </summary>
        public decimal preselfpay_amt { get; set; }

        /// <summary>
        /// 医疗收费项目类别
        /// </summary>
        public string med_chrgitm_type { get; set; }

        /// <summary>
        /// 处方/医嘱号
        /// </summary>
        public string rx_drord_no { get; set; }

        /// <summary>
        /// 医保谈判药品标志
        /// </summary>
        public string hi_nego_drug_flag { get; set; }

        /// <summary>
        /// 医疗目录编码
        /// </summary>
        public string med_list_codg { get; set; }

        /// <summary>
        /// 受单医生姓名
        /// </summary>
        public string orders_dr_name { get; set; }

        /// <summary>
        /// 定点医药机构目录名称
        /// </summary>
        public string medins_list_name { get; set; }

        /// <summary>
        /// 商品名
        /// </summary>
        public string prodname { get; set; }

        /// <summary>
        /// 周期天数
        /// </summary>
        public decimal prd_days { get; set; }

        /// <summary>
        /// 开单科室名称
        /// </summary>
        public string bilg_dept_name { get; set; }

        /// <summary>
        /// 外检医院编码
        /// </summary>
        public string etip_hosp_code { get; set; }

        /// <summary>
        /// 定价上限金额
        /// </summary>
        public decimal pric_uplmt_amt { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string payLoc { get; set; }

        /// <summary>
        /// 经办人姓名
        /// </summary>
        public string opter_name { get; set; }

        /// <summary>
        /// 费用发生时间
        /// </summary>
        public string fee_ocur_time { get; set; }

        /// <summary>
        /// 经办时间
        /// </summary>
        public string opt_time { get; set; }

        /// <summary>
        /// 全自费金额
        /// </summary>
        public decimal fulamt_ownpay_amt { get; set; }

        /// <summary>
        /// 收费批次号
        /// </summary>
        public string chrg_bchno { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public decimal cnt { get; set; }

        /// <summary>
        /// 生育费用标志
        /// </summary>
        public string matn_fee_flag { get; set; }

        /// <summary>
        /// 结算id
        /// </summary>
        public string setl_id { get; set; }

        /// <summary>
        /// 直报标志
        /// </summary>
        public string drt_reim_flag { get; set; }

        /// <summary>
        /// 定点医药机构目录编号
        /// </summary>
        public string medins_list_codg { get; set; }

        /// <summary>
        /// 医院制剂标志
        /// </summary>
        public string hosp_prep_flag { get; set; }

        /// <summary>
        /// 用药途径描述
        /// </summary>
        public string medc_way_dscr { get; set; }

        /// <summary>
        /// 受单科室编码
        /// </summary>
        public string acord_dept_codg { get; set; }

        /// <summary>
        /// 收费项目等级
        /// </summary>
        public string chrgitm_lv { get; set; }
    }


    /// <summary>
    /// 5205 人员慢特病用药记录查询 output
    /// </summary>
    public class OutputQueryPsnMedcrcd
    {
        /// <summary>
        /// 5205 人员慢特病用药记录查询 feedetail
        /// </summary>
        public List<OutputQueryPsnMedcrcdFeedetail> feedetail { get; set; }
    }
    /// <summary>
    /// 5205 人员慢特病用药记录查询 feedetail
    /// </summary>
    public class OutputQueryPsnMedcrcdFeedetail
    {
        /// <summary>
        /// 费用明细流水号
        /// </summary>
        public string feedetl_sn { get; set; }

        /// <summary>
        /// 处方/医嘱号
        /// </summary>
        public string rx_drord_no { get; set; }

        /// <summary>
        /// 定点医药机构编号
        /// </summary>
        public string fixmedins_code { get; set; }

        /// <summary>
        /// 定点医药机构名称
        /// </summary>
        public string fixmedins_name { get; set; }

        /// <summary>
        /// 人员编号
        /// </summary>
        public string psn_no { get; set; }

        /// <summary>
        /// 医疗类别
        /// </summary>
        public string med_type { get; set; }

        /// <summary>
        /// 费用发生时间
        /// </summary>
        public string fee_ocur_time { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public decimal cnt { get; set; }

        /// <summary>
        /// 单价
        /// </summary>
        public decimal pric { get; set; }

        /// <summary>
        /// 收费项目等级
        /// </summary>
        public string chrgitm_lv { get; set; }
        /// <summary>
        /// 医保目录编码
        /// </summary>
        public string hilist_code { get; set; }

        /// <summary>
        /// 医保目录名称
        /// </summary>
        public string hilist_name { get; set; }

        /// <summary>
        /// 目录类别
        /// </summary>
        public string list_type { get; set; }

        /// <summary>
        /// 医疗目录编码
        /// </summary>
        public string med_list_codg { get; set; }

        /// <summary>
        /// 医药机构目录编码
        /// </summary>
        public string medins_list_codg { get; set; }

        /// <summary>
        /// 医药机构目录名称
        /// </summary>
        public string medins_list_name { get; set; }

        /// <summary>
        /// 医疗收费项目类别
        /// </summary>
        public string med_chrgitm_type { get; set; }

        /// <summary>
        /// 商品名
        /// </summary>
        public string prodname { get; set; }

        /// <summary>
        /// 规格
        /// </summary>
        public string spec { get; set; }

        /// <summary>
        /// 剂型名称
        /// </summary>
        public string dosform_name { get; set; }

        /// <summary>
        /// 限制使用标志
        /// </summary>
        public string int_used_flag { get; set; }

        /// <summary>
        /// 医院制剂标志
        /// </summary>
        public string hosp_prep_flag { get; set; }

        /// <summary>
        /// 医院审批标志
        /// </summary>
        public string hosp_appr_flag { get; set; }

        /// <summary>
        /// 中药使用方式
        /// </summary>
        public string tcndrug_used_way { get; set; }

        /// <summary>
        /// 生产地类别
        /// </summary>
        public string prodplac_type { get; set; }

        /// <summary>
        /// 基本药物标志
        /// </summary>
        public string bas_medn_flag { get; set; }

        /// <summary>
        /// 医保谈判药品标志
        /// </summary>
        public string hi_nego_drug_flag { get; set; }

        /// <summary>
        /// 儿童用药标志
        /// </summary>
        public string chld_medc_flag { get; set; }

        /// <summary>
        /// 外检标志
        /// </summary>
        public string etip_flag { get; set; }

        /// <summary>
        /// 外检医院编码
        /// </summary>
        public string etip_hosp_code { get; set; }

        /// <summary>
        /// 出院带药标志
        /// </summary>
        public string dscg_tkdrug_flag { get; set; }

        /// <summary>
        /// 目录特项标志
        /// </summary>
        public string list_sp_item_flag { get; set; }

        /// <summary>
        /// 生育费用标志
        /// </summary>
        public string matn_fee_flag { get; set; }
    }
    
    /// <summary>
    /// 9101 文件上传 output
    /// </summary>
    public class OutputFileUpload
    {
        /// <summary>
        /// 
        /// </summary>
        public string filename { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string file_qury_no { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string dld_endtime { get; set; }
    }

    /// <summary>
    /// 3201 对总帐output
    /// </summary>
    public class OutputStmtTotal 
    { 
        public DataStmtTotal stmtinfo { get; set; }
    }
    /// <summary>
    /// 3201 对总帐 stmtinfo
    /// </summary>
    public class DataStmtTotal
    {
        public string setl_optins { get; set; }
        public string stmt_rslt_dscr { get; set; }
        public string stmt_rslt { get; set; }
    }
    /// <summary>
    /// 3202对明细账返回信息
    /// </summary>
    public class OutputStmtDetail
    {
        /// <summary>
        /// 
        /// </summary>
        public OutputFileUpload fileinfo { get; set; }
    }
    
    /// <summary>
    /// 3592B获取虚拟药品追溯码 output
    /// </summary>
    public class OutputDummyDrugTracCodg
    {
        public OutputDataDummyDrugTracCodg result { get; set; }
    }
    /// <summary>
    /// 3592B获取虚拟药品追溯码 data
    /// </summary>
    public class OutputDataDummyDrugTracCodg
    {
        /// <summary>
        /// 医疗目录编码 没有就传默认值NMLC999
        /// </summary>
        public string med_list_codg { get; set; }
        /// <summary>
        /// 定点医药机构目录编号
        /// </summary>
        public string fixmedins_hilist_id { get; set; }
        /// <summary>
        /// 定点医药机构目录名称
        /// </summary>
        public string fixmedins_hilist_name { get; set; }
        /// <summary>
        /// 药品追溯码
        /// </summary>
        public string drug_trac_codg { get; set; }
    }
}
